package io.sdl.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(title = "选择/解绑角色")
public class ChooseRoleDTO {
    @Schema(title = "用户唯一标识符")
    @NotBlank(message="\"用户唯一标识符不能为空")
    private String token;

    @Schema(title = "平台类型")
    private Integer platform;

    @Schema(title = "角色相关标识")
    private String identifier;

    @Schema(title = "角色ID")
    private String roleId;

    @Schema(title = "登录账号")
    private String mobile;

}
